<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <input type="hidden" id="navTabId" name="navTabId" value="${navTabId!''}">
    <div class="pageContent">
        <div style="height: 70px; margin-top: 20px;">
            <ul style="padding: 20px;">
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button onclick="initializationScriptJs.exportScript();">生成初始化脚本</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
</form>
<script type="text/javascript">
var initializationScriptJs = {
        exportScript : function() {
            var id = $("#navTabId",  navTab.getCurrentPanel()).val();
            window.location = '${rc.getContextPath()}/manage/management/initializationScript/exportScript?navTabId='+id;
        
        }}
</script>